package springDome;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

import springDome.beans.SubUser;

@ComponentScan("springDome.beans")
public class Config {

	@Bean(initMethod = "myPostConstruct", destroyMethod = "myPreDestory")
	public SubUser getSubUser() {
		return new SubUser();
	}
}
